package com.pojo;

import java.util.Date;

public class ShowVoucher {
    private Integer voucher_id;
    private String no;
    private double amount;
    private String ename;
    private String iname;
    private Date open_time;
    private Date expiry_time;
    private String uplink_address;
    private String source;
    private String status;
    private String payment_interest_type;

    public ShowVoucher() {
    }

    public ShowVoucher(Integer voucher_id, String no, double amount, String ename, String iname, Date open_time, Date expiry_time, String uplink_address, String source, String status, String payment_interest_type) {
        this.voucher_id = voucher_id;
        this.no = no;
        this.amount = amount;
        this.ename = ename;
        this.iname = iname;
        this.open_time = open_time;
        this.expiry_time = expiry_time;
        this.uplink_address = uplink_address;
        this.source = source;
        this.status = status;
        this.payment_interest_type = payment_interest_type;
    }

    public Integer getVoucher_id() {
        return voucher_id;
    }

    public void setVoucher_id(Integer voucher_id) {
        this.voucher_id = voucher_id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public Date getOpen_time() {
        return open_time;
    }

    public void setOpen_time(Date open_time) {
        this.open_time = open_time;
    }

    public Date getExpiry_time() {
        return expiry_time;
    }

    public void setExpiry_time(Date expiry_time) {
        this.expiry_time = expiry_time;
    }

    public String getUplink_address() {
        return uplink_address;
    }

    public void setUplink_address(String uplink_address) {
        this.uplink_address = uplink_address;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPayment_interest_type() {
        return payment_interest_type;
    }

    public void setPayment_interest_type(String payment_interest_type) {
        this.payment_interest_type = payment_interest_type;
    }

    @Override
    public String toString() {
        return "ShowVoucher{" +
                "voucher_id=" + voucher_id +
                ", no='" + no + '\'' +
                ", amount=" + amount +
                ", ename='" + ename + '\'' +
                ", iname='" + iname + '\'' +
                ", open_time=" + open_time +
                ", expiry_time=" + expiry_time +
                ", uplink_address='" + uplink_address + '\'' +
                ", source='" + source + '\'' +
                ", status='" + status + '\'' +
                ", payment_interest_type='" + payment_interest_type + '\'' +
                '}';
    }
}
